package org.hong.samples.service;

import java.util.List;

import org.hong.samples.model.ExamSubject;
import org.hong.samples.model.VO.ExamSubjectVO;
import org.hong.samples.model.VO.UserJDBCVO;

public interface UserSubjectService {
	
	public List<ExamSubject> findAllSubject();
	
	public ExamSubjectVO getSubjectById(String id);
	
	public void editUser (ExamSubject user) throws Exception;
	
	public void saveUser (ExamSubject user) throws Exception;
	
	public void deleteUser(String id) throws Exception;

	public void saveSubjectStudent(List<String> subjectStudents, String subjectId) throws RuntimeException;

	public List<UserJDBCVO> getAllStudent();
	
	public List<String> getAllUserBySubject(String subjectId);
}
